package com.dsg.entity.set;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 油费回赠设置
 * </p>
 *
 * @author system
 * @since 2020-11-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("dsg_set_coupon_return")
@ApiModel(value="DsgSetCouponReturn对象", description="油费回赠设置")
public class DsgSetCouponReturn implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主鍵")
    @TableId("OID")
    private String oid;

    @ApiModelProperty(value = "企業編碼")
    @TableField("ENT_CODE")
    private String entCode;

    @ApiModelProperty(value = "回赠总额")
    @TableField("RETURN_MONEY")
    private BigDecimal returnMoney;

    @ApiModelProperty(value = "发放期数")
    @TableField("GRANT_NUM")
    private Integer grantNum;

    @ApiModelProperty(value = "分期单位")
    @TableField("STAGE_UNIT")
    private String stageUnit;

    @ApiModelProperty(value = "每期间隔")
    @TableField("EACH_INT")
    private Integer eachInt;

    @ApiModelProperty(value = "发放日期")
    @TableField("GRANT_TIME")
    private Date grantTime;

    @ApiModelProperty(value = "有效时长")
    @TableField("EFFE_DURA")
    private Integer effeDura;

    @ApiModelProperty(value = "創建時間")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "創建人")
    @TableField("CREATER")
    private String creater;

    @ApiModelProperty(value = "更新人")
    @TableField("UPDATER")
    private String updater;

    @ApiModelProperty(value = "更新時間")
    @TableField("UPDATE_TIME")
    private Date updateTime;

    @ApiModelProperty(value = "備註")
    @TableField("REMARKS")
    private String remarks;

    @ApiModelProperty(value = "客戶編號")
    @TableField("CUS_NO")
    private String cusNo;
}
